atan
Type
function
Summary
Returns the arc tangent of a number in radians.
Syntax
the atan of <number>
atan(<number>)
Description
Use the atan function to find the arc tangent of a number.
The arc tangent of number is an angle whose tangent is equal to number. In other words, atan is an inverse of the tan function.
If a math operation on finite inputs produces a non-finite output, an execution error is thrown. See math operations for more information.
Parameters
Name | Type | Description |
---|---|---|
number | A positive or negative number, or an expression that evaluates to a number. |
Examples
atan(0)
atan(tan(-1))
the atan of vectorMagnitude
Related
constant: pi
control structure: function
function: tan
glossary: radian, custom function, return, degree, math operation
keyword: inverse
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile